import request from "../utils/request";

export default {
	getHomeData(params) {
		return request({
			url: "/gethomedata",
			method: "get",
			params,
		});
	},
	deleteHomeData(params) {
		return request({
			url: "/deletehomedata",
			method: "post",
			data: params,
		});
	},
	addHomeData(params) {
		return request({
			url: "/addhomedata",
			method: "post",
			data: params,
		});
	},
	updateHomeData(params) {
		return request({
			url: "/updatehomedata",
			method: "post",
			data: params,
		});
	},
};
